import URL_API from '@/const/url-api';
import axios from '@/common/axios-setting';

/**
 * 获取招聘信息详情页
 */
export async function getInfoDetailsService(payload = {}) {
    return axios.get(URL_API.GET_INFO_DETAILS, {
        params: payload,
    });
}

/**
 * 获取求职记录
 */
export async function getJobRecordService(payload = {}) {
    return axios.post(URL_API.GET_JOB_RECORD, {
        ...payload,
    });
}